﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sheep_Breeding.Domain
{
    /// <summary>
    /// 羊只档案
    /// </summary>
    public class SheepFiles
    {
        /// <summary>
        /// 羊只档案Id
        /// </summary>
        [Key]
        public int SheepFilesId { get; set; }
        /// <summary>
        /// 可视耳标号
        /// </summary>
        public string EarNumber { get; set; }
        /// <summary>
        /// 电子耳标号
        /// </summary>
        public string ELEarNumber { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string Variety { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime Birthday { get; set; }
        /// <summary>
        /// 日龄
        /// </summary>
        public int AgeByDay { get; set; }
        /// <summary>
        /// 月龄
        /// </summary>
        public int AgeByMonth { get; set; }
        /// <summary>
        /// 在场状态
        /// </summary>
        public string PresentStatus { get; set; }
        /// <summary>
        /// 生长阶段
        /// </summary>
        public string GrowthStage { get; set; }
        /// <summary>
        /// 栋舍Id
        /// </summary>
        public int BuildingId { get; set; }
        /// <summary>
        /// 栏位Id
        /// </summary>
        public int Field { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public string SheepType { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public string ReproductiveStatus { get; set; }
        /// <summary>
        /// 是否妊检
        /// </summary>
        public string PregnancyTest { get; set; }
        /// <summary>
        /// 妊娠状态天数
        /// </summary>
        public int PregnancyDays { get; set; }
        /// <summary>
        /// 生产等级
        /// </summary>
        public string ProductionGrade { get; set; }
        /// <summary>
        /// 销售等级
        /// </summary>
        public string SalesLevel { get; set; }
        /// <summary>
        /// 基因等级
        /// </summary>
        public string GeneticLevel { get; set; }
        /// <summary>
        /// 出生重量
        /// </summary>
        public decimal BirthWeight { get; set; }
        /// <summary>
        /// 断奶重量
        /// </summary>
        public decimal WeaningWeight { get; set; }
        /// <summary>
        /// 断奶时间
        /// </summary>
        public DateTime WeaningDate { get; set; }
        /// <summary>
        /// 断奶日龄
        /// </summary>
        public string WeaningDays { get; set; }
        /// <summary>
        /// 父耳号
        /// </summary>
        public string FatherEarNumber { get; set; }
        /// <summary>
        /// 母耳号
        /// </summary>
        public string MotherEarNumber { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
